package com.xueyi.operations.service.impl;

import com.xueyi.operations.domain.dto.OpMaterialGroupDto;
import com.xueyi.operations.domain.query.OpMaterialGroupQuery;
import com.xueyi.operations.domain.correlate.OpMaterialGroupCorrelate;
import com.xueyi.operations.service.IOpMaterialGroupService;
import com.xueyi.operations.manager.IOpMaterialGroupManager;
import com.xueyi.common.web.entity.service.impl.TreeServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 资料分类管理 服务层处理
 *
 * @author lwb
 */
@Service
public class OpMaterialGroupServiceImpl extends TreeServiceImpl<OpMaterialGroupQuery, OpMaterialGroupDto, OpMaterialGroupCorrelate, IOpMaterialGroupManager> implements IOpMaterialGroupService {

    /**
     * 查询资料分类对象列表 | 数据权限
     *
     * @param opMaterialGroup 资料分类对象
     * @return 资料分类对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"OpMaterialGroupMapper"})
    public List<OpMaterialGroupDto> selectListScope(OpMaterialGroupQuery opMaterialGroup) {
        return super.selectListScope(opMaterialGroup);
    }
}